package com.zzj.service;

import com.github.pagehelper.PageInfo;
import com.zzj.bean.CustomerBean;
import com.zzj.utils.Result;

public interface CustomerService {
    /**
     * 添加客户
     * @param customerBean
     * @return
     */
    boolean addCustomer(CustomerBean customerBean);

    PageInfo<CustomerBean> findAll(int pageNum,int pageSize);

    /**
     * 根据id修改客户
     * @param customerBean
     * @return
     */
    Result updateCustomer(CustomerBean customerBean);
}
